package com.shg.service;
import java.util.List;

import com.shg.bean.Book;
import com.shg.bean.PageView;
import com.shg.bean.QueryResult;
import com.shg.bean.SoldBook;

public interface SoldBookService extends BasiceDao<SoldBook> {

	public QueryResult<SoldBook> getAppraise(PageView<SoldBook> pageView,String bookid)throws Exception;
	
	public QueryResult<SoldBook> getSoldRecord(PageView<SoldBook> pageView,String bookid)throws Exception;

	public List<Book> getBestSeller(String shop_id,int maxResult)throws Exception;
	
	public List<Book> getBestBook(int maxResult)throws Exception;
	
	public QueryResult<SoldBook> getSoldBook(String shopid,int firstResult,int maxResult)throws Exception;
}
